package com.bt.lms.ui.page.teaching.plan.vo;


import java.util.List;

/**
 * @author 李舒淇
 */
public class Page<T> {

    /**
     * 列表数据
     */
    private List<T> tableData;

    /**
     * 总记录数
     */
    private Long total;

    /**
     * 当前页
     * 默认第一页
     */
    private Integer currentPageNo = 1;

    /**
     * 每一页的条数
     * 默认每页10条
     */
    private Integer pageSize = 10;

    public List<T> getTableData() {
        return tableData;
    }

    public void setTableData(List<T> tableData) {
        this.tableData = tableData;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getCurrentPageNo() {
        return currentPageNo;
    }

    public void setCurrentPageNo(Integer currentPageNo) {
        this.currentPageNo = currentPageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
